package com.intellagric.service.traceability.trace_record;

import com.intellagric.common.pojo.LayuiDataGridResult;
import com.intellagric.common.pojo.ResponseMessage;
import com.intellagric.module.traceability.InvestRecordVo;
import com.intellagric.pojo.TraceRecordInvest;

/**
 * @Author: wl
 * @email: 844406720@qq.com
 * @Date: 2018/11/07
 * @DESC： 投入品记录服务接口
 */
public interface InvestRecordService {

    //增加投入品记录
    ResponseMessage addInvestRecord(TraceRecordInvest traceRecordInvest);

    //删除投入品记录
    ResponseMessage deleteInvestRecord(String id);

    //修改投入品记录
    ResponseMessage editInvestRecord(TraceRecordInvest traceRecordInvest);

    //查询投入品记录
    TraceRecordInvest getInvestRecordById(String id);
    LayuiDataGridResult getInvestRecordList();
    LayuiDataGridResult getInvestRecordPage(int page, int rows);
    LayuiDataGridResult getInvestRecordPageByVo(int page, int rows, InvestRecordVo investRecordVo);
}
